<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_parentid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="c-user_parentid" disabled    class="form-control" name="row[user_parentid]" >
            {foreach $pid as $v}
                <option  {$v->user_name} {if condition="$row.user_parentid == $v->user_id"} selected {/if} value="{$v->user_id}">{$v->user_name}</option>
            {/foreach}
            </select>
         
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" class="form-control" name="row[user_name]" type="text" value="{$row.user_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
          
            <input id="c-user_pwd" style="" class="form-control" name="row[user_pwd]" type="text" value="{$row.user_pwd}">
            <div style="margin-top:0.5rem;color:red"> <b style="">*</b> 当前密码已做加密处理,如需修改请直接输入 <b> 明文密码</b>即可!</div>
            
        </div>
    </div>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script>
        $(".p1").on('change',function(){
            //没有修改了密码
          
            if($(".p1").val() != ''){

                alert($(".p1").val());
                alert($("#c-user_pwd").val());

                $("#c-user_pwd").val(123123);
            }
               
        })
    </script>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_reg_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_reg_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[user_reg_time]" type="text" value="{$row.user_reg_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_reg_ip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_reg_ip" class="form-control" name="row[user_reg_ip]" type="text" value="{$row.user_reg_ip}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" name="row[money]" type="text" value="{$row.money}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
